﻿(function (angular) {
    'use strict';

    angular.module('app', ['ngRoute', 'Controllers', 'Services']).config([
        '$routeProvider', '$locationProvider',
        function($routeProvider, $locationProvider) {

            $locationProvider.html5Mode(true);

            $routeProvider.when('/stores/:storeId/products', {
                templateUrl: '/scripts/angular/templates/products.html',
                controller: 'ProductsCtl'
            });
        }
    ]);
})(window.angular);